package com.ygl.config.nacos.configuration;

import com.ygl.config.core.adpater.ConfigAdapter;
import com.ygl.config.nacos.adapter.NacosConfigAdapter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * author: yanggld
 * date: 2019/12/21 17:48
 * version: 1.0
 * description: NacosConfigAutoConfiguration
 */
@Configuration
public class NacosConfigAutoConfiguration {

    @Bean
    public ConfigAdapter configAdapter() {
        return new NacosConfigAdapter();
    }
}
